package org.monster.vo;

import java.util.Date;



public class BbsVO {
	
	private Integer num;
	private String title;
	private String name;
	private String contents;
	private Date date;
	
	

	
	public BbsVO(Integer num, String title, String name, String contents, Date date) {
		super();
		this.num = num;
		this.title = title;
		this.name = name;
		this.contents = contents;
		this.date = date;
	}
	
	public BbsVO(String title, String name, String contents) {
		super();
		this.title = title;
		this.name = name;
		this.contents = contents;
	}
	
	public BbsVO(){
		super();
	}
	
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	
	@Override
	public String toString() {
		return "BbsVO [num=" + num + ", title=" + title + ", name=" + name
				+ ", contents=" + contents + ", date=" + date + "]";
	}
	
	
	

}
